package com.wushibo.adddatabackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PersonInformation {
    @TableId(type = IdType.AUTO)
    public Integer id;

    public String address;
    public String idnumber;
    public String name;
    public String phone;
    public String tempereature;
    public String time;
    public String value;

    public PersonInformation(String address, String idnumber, String name, String phone, String tempereature, String time, String value) {
        this.address = address;
        this.idnumber = idnumber;
        this.name = name;
        this.phone = phone;
        this.tempereature = tempereature;
        this.time = time;
        this.value = value;
    }
}
